<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script type="text/javascript">
			var a = 0 ;
			for( var i = 1 ; i <= 100 ; i++ ){

				if( i % 2 == 1 ){
					a =  a + i;
				}
			}
			alert(a);
		</script>
	</head>
	<body>
	</body>
</html>
